import express from 'express';
import cors from 'cors';
import {
	prefix,
	tools_route
} from './routes/tools/index.js';

const app = express();
app.use(cors());
// app.use(express.json());
// app.use(
// 	express.urlencoded({
// 		extended: true
// 	})
// );
app.use(prefix, tools_route);

app.listen(8081, () => {
	console.log(
		'Server is running on http://localhost:8081'
	);
});
